package com.chdwmp.product.service;

import com.chdwmp.product.bean.PageResult;
import com.chdwmp.product.bean.backend.AgentVo;
import com.chdwmp.product.bean.backend.ProductAgentSearchVo;
import com.chdwmp.product.bean.params.AgentListSearch;

/**
 * @Auther: LLL
 * @Date: 2021/5/9 09:09
 * @Description: 供应商dao层
 */
public interface AgentService {


    void saveOrUpdateAgent(AgentVo agentVo);

    void deleteAgent(String id);

    PageResult getAgentList(AgentListSearch search);

    AgentVo addAgentForApp(AgentVo agentVo);

    PageResult getAgentBuyProducts(AgentListSearch search);

    AgentVo getAgentInfo(String imei);

    PageResult getProductAgentStatistics(ProductAgentSearchVo productAgentSearchVo);


}
